package hidalgo.expenses.constants;

public class PaymentType {

	public static final int efectivo = 0;
	public static final int cheque = 1;
	public static final int deposito = 2;
	public static final int transferencia = 3;
	public static final int otro = 4;

	public static String getPaymentName(int type) {

		switch (type) {
		case efectivo:
			return "Efectivo";
		case cheque:
			return "Cheque";
		case deposito:
			return "Deposito";
		case transferencia:
			return "Transferencia";
		case otro:
			return "Otro";

		default:
			return "";
		}

	}

}
